package com.yc.cloud.admin.dto.request;

import com.yc.cloud.common.basic.dto.BasePageReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 硬件设备分页查询 请求DTO
 * </p>
 *
 * @author kinggu
 * @since 2025-07-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "硬件设备分页查询请求DTO")
public class HwDevicePageReqDto extends BasePageReqDTO {


    @Schema(description = "设备分组ID")
    private Long groupId;

    @Schema(description = "设备在线状态：0-离线, 1-在线, 2-故障")
    private Integer status;

    @Schema(description = "设备类型：1-边缘设备(rv1126), 2-服务器")
    private Integer deviceType;

    @Schema(description = "是否按置顶规则排序（在线优先 + 置顶 + 置顶时间），默认false")
    private Boolean pinnedSort;

} 